projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e368195
)
(universal-coding-system-argument): Check for C-g. (Bug#1205)
author
Glenn Morris
<rgm@gnu.org>
Wed, 22 Oct 2008 06:44:52 +0000
(06:44 +0000)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 22 Oct 2008 06:44:52 +0000
(06:44 +0000)
lisp/international/mule-cmds.el
patch
|
blob
|
history
diff --git
a/lisp/international/mule-cmds.el
b/lisp/international/mule-cmds.el
index 69d4d933d023dfb1472f68cf79d125662977090f..894f2f7021618d1f6004ef0e704714d7fe221267 100644
(file)
--- a/
lisp/international/mule-cmds.el
+++ b/
lisp/international/mule-cmds.el
@@
-286,7
+286,10
@@
wrong, use this command again to toggle back to the right mode."
(format "Command to execute with %s:" coding-system)))
(cmd (key-binding keyseq))
prefix)
-
+ ;; read-key-sequence ignores quit, so make an explicit check.
+ ;; Like many places, this assumes quit == C-g, but it need not be.
+ (if (char-equal last-input-char ?\C-g)
+ (keyboard-quit))
(when (memq cmd '(universal-argument digit-argument))
(call-interactively cmd)